please wait
<math.h>
, but which can take other non-floating point types as arguments:<math.h>
that takes at least one double
as argument (except modf) is defined in <tgmath.h>
as a macro with the same semantics but taking generic parameters instead:double
; Arguments of floating-point types are used without transformation (directly as float
, double
or long double
).<math.h>
and <complex.h>
: The type-generic function can also take complex values if the function exists in <complex.h>
(prefixed with a "c"
character).<cmath>
and <ccomplex>
.<cmath>
and <ccomplex>
in C++.